home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 75 / XENIATGM75.iso / Shareware / X-Setup 5.0 / _SETUP.1 / XQ IE Help Menu.xpl < prev    next >
Text File  |  1999-07-18  |  2KB  |  69 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="4"
  4. "UIPATH"="Internet\Internet Explorer\Appearance\"
  5. "NAME"="Help Menu Options"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.1"
  8. "TEXT 1"="Show "Tip of the Day" in Help menu"
  9. "TEXT 2"="Show "Tutorial" in Help menu"
  10. "TEXT 3"="Show "Send feedback" in Help menu"
  11. "TEXT 4"="Show "For Netscape..." in Help menu"
  12. "DESCRIPTION 1"="To show an item in the Help menu, activate it. To hide it, deactivate it."
  13. "DESCRIPTION 2"="Please note that you need to restart Internet Explorer so the changes can take effect."
  14. "AUTHOR"="Xteq Systems"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  17. "COMMENT 2"=" "
  18.  
  19.  
  20.  
  21. sPath="HKCU\Software\Policies\Microsoft\Internet Explorer\"
  22. sTIP="remove tip of the day" 'all dword (1 = remove)
  23. sTUT="remove tutorial"
  24. sFED="remove feedback"
  25. sNET="remove netscape help"
  26.  
  27.  
  28. Sub Plugin_Initialize 
  29.  i=RegReadValue(sPath & sTIP)
  30.  if i<>1 then SetUIElement 1,true
  31.  
  32.  i=RegReadValue(sPath & sTUT)
  33.  if i<>1 then SetUIElement 2,true
  34.  
  35.  i=RegReadValue(sPath & sFED)
  36.  if i<>1 then SetUIElement 3,true
  37.  
  38.  i=RegReadValue(sPath & sNET)
  39.  if i<>1 then SetUIElement 4,true
  40. End Sub
  41.  
  42. Sub Plugin_CheckData(ElementIndex)
  43. End Sub
  44.  
  45. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  46.  Call WriteIt(1,sTIP)
  47.  Call WriteIt(2,sTUT)
  48.  Call WriteIt(3,sFED)
  49.  Call WriteIt(4,sNET)
  50. End Sub
  51.  
  52. Sub WriteIt(ITM,VAL)
  53.  b=GetUIElement(ITM)
  54.  if b=false then
  55.     call RegWriteValue(sPATH & VAL,1,2)
  56.  else
  57.     chk=RegReadValue(sPATH & VAL)
  58.     if IsEmpty(chk)=false then
  59.        Call RegDeleteValue(sPATH & VAL)
  60.     end if
  61.  end if
  62. end sub
  63.  
  64. Sub Plugin_Terminate 
  65. End Sub
  66.  
  67.  
  68.  
  69.